/*************************************************************************
> File Name: mystring.c
> Author: icebear
> Mail: 3322366195@qq.com
> Created Time: 2023-08-03 10:49:19
> Description: 字符串处理
************************************************************************/
#include "mystring.h"
#include <stdio.h>

int main(int argc, char const *argv[])
{
    char *str = "123456";
    char arr[10] = {0};
    strCopy(arr, str);
    printf("%s %u\n", arr, strLength(str));
    printf("compare : %d\n", strCompare(arr, str));
    printf("compare : %d\n", strCompare("12345", str));
    printf("compare : %d\n", strCompare("1234567", str));
    strReverse(arr);
    printf("rervese : %s\n", arr);
    return 0;
}
